import SHA256 from "crypto-js/sha256";

async function sha256(message: string): Promise<string> {
  return SHA256(message).toString();  // 默认输出 hex 字符串
}

export default { sha256 };
